package Month07.day21.stu;

import java.util.Arrays;

public class test2 {
    public static void main(String[] args) {
        int[] ints = new int[]{1,2,3,4,5};
        int[] ints1 = new int[10];
        System.arraycopy(ints,0,ints1,0,5);
        ints1[5]=6;
        System.out.println(Arrays.toString(ints1));
    }
}
